﻿@using XStudio.XCRF.Web.Models.LabCheck
@model LabCheckWithStd
<table>
    <tr>
        <th>血沉（ESR）</th>
        @{
            if (Model.labCheckStd != null && (Model.labCheck.ESR < Model.labCheckStd.ESRmin))
            {
                <td style ="color:Red;"> @Html.DisplayFor(model => model.labCheck.ESR)↓</td>
            }
            else if (Model.labCheckStd != null &&  (Model.labCheck.ESR > Model.labCheckStd.ESRmax))
            {
                <td style ="color:Red;"> @Html.DisplayFor(model => model.labCheck.ESR)↑</td>
            }else
            {
                <td> @Html.DisplayFor(model => model.labCheck.ESR)</td>
            }
        }
        <td>mm/lu</td>
    </tr>
</table>